package com.hovhanna.monopoly.model;

import java.util.ArrayList;
import java.util.Collection;

import com.hovhanna.monopoly.model.Model.DefaultEvents;

public class Cards extends Model<DefaultEvents> {
    private ArrayList<Card> cards = new ArrayList<Card>();
    
    public Cards(Collection<Card> cards) {
        this.cards.addAll(cards);
        shuffle();
    }
    
    public Card takeTopCard() {
        Card card = cards.remove(0);
        cards.add(card);
        return card;
    }
    
    public Card takeAndKeepTopCard() {
        return cards.remove(0);
    }
    
    void addCard(Card card) {
        cards.add(card);
    }
    
    private void shuffle() {
        
    }
    
    public static class Card {
        
    }
}
